Script: --on windowEvent wdID,wdName,objNo,objName,objValueツツif objValue="Open" thenツ put resourceList("ICON",ID) into iclistツ get "i2_Text:"&scrunch(iclist)ツ wsSet wdid,"0","Properties",it ツ ツelse if objValue="Close" then ツ ツelse if objValue="Suspend" then ツ ツelse if objValue="Resume" then ツ ツelse if objValue="CloseBox" then ツ ツelse if objValue="ZoomBox" then ツ ツelse if objValue="GrowBox" then ツ ツelse if objValue="TitleBar" then ツ ツend ifツツ--end windowEvent
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツput wsGet(wdName,"2","SelectionText") into itツwsSet wdName,"4","Text",itツ--end mouseUp
ItemType: LBL
Rect: 7,201,35,217
BlackColor: 0,0,-8739
Text: ID#
ItemType: TEXT
Rect: 40,202,76,218
Name: IconId
BlackColor: 0,0,-8739
WhiteColor: -1,-1,13107
Text: 8964
ItemType: PUSH
Rect: 275,197,347,217
BlackColor: 0,0,-8739
WhiteColor: -1,-1,13107
Name: OK
DefaultItem: TRUE
Script: --on mouseUp wdID,wdName,objNo,objName,objValueツput wsGet(wdName,"4","Text") into itツif it is 0 then ツ beepツelseツ wsSend wdName,0,"close"ツend ifツ--end mouseUp